package com.sfddata.musicpillow.oauth;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableFeignClients(basePackages = "com.sfddata.musicpillow.oauth.feign")
@MapperScan("com.sfddata.musicpillow.oauth.dao")
@EnableDiscoveryClient
@SpringBootApplication
@EnableCaching
@EnableAsync // 开启spring异步注解
public class MusicPillowOauthApplication {

    public static void main(String[] args) {

        SpringApplication.run(MusicPillowOauthApplication.class, args);
    }
}


